package com.hd.mapper;

import com.hd.pojo.InstrInfo;
import com.hd.pojo.ReservationInstr;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by 1 on 2017/11/28.
 */
public interface ReservationInstrMapper extends BaseMapper<ReservationInstr>{

    List<InstrInfo> searchInstrByDate(@Param("startDate") String startDate, @Param("instrId") Integer instrId);

    ReservationInstr searchReserInstrNotEnter();

    Integer updateReservationInstr(Integer reserveInstrId);
}
